package cn.tedu.vehicle_rental.employee.controller;

import cn.tedu.vehicle_rental.basic.JsonResult;
import cn.tedu.vehicle_rental.employee.pojo.param.QIParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/employee")
@Api(tags = "员工管理")
public class EmployeeController {
    /**
     * 插入质检单
     * @param qiParam
     * @return
     */
    @ApiOperation("插入质检单")
    @PostMapping("insert")
    public JsonResult insert(@RequestBody QIParam qiParam){

        return JsonResult.ok("订单插入成功");
    }
}
